import { transferTimestampToSecond, ObjectType } from '../../../utils';

export const columns: ObjectType[] = [
  {
    title: '用户层级',
    dataIndex: 'userLevel',
    key: 'userLevel',
    width: 100,
  },
  {
    title: '账户名',
    dataIndex: 'username',
    key: 'username',
    width: 100,
  },
  {
    title: '手机号',
    dataIndex: 'telephone',
    key: 'telephone',
    width: 100,
  },
  {
    title: '银行卡姓名',
    dataIndex: 'bankcardName',
    key: 'bankcardName',
    width: 150,
  },
  {
    title: '银行卡号',
    dataIndex: 'bankcard',
    key: 'bankcard',
    width: 100,
  },
  {
    title: '查询时间',
    dataIndex: 'createTime',
    key: 'createTime',
    width: 200,
    render: (text: number) => transferTimestampToSecond(text),
  },
  {
    title: '威胁等级',
    dataIndex: 'evilLevel',
    key: 'evilLevel',
    width: 100,
  },
];
